package com.toe.pojo.vo.commodity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class CommodityUserBuyClassesVO implements Serializable {

    private Long id;
    private Long userHaveBuyId;
    private String title;
    private BigDecimal originalPrice;
    private BigDecimal presentPrice;
    private String url;
    private String cover;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date purchasingTime;
    private String durationTime;

    private Long typeId;
    private String typeName;

    private Long businessId;
    private String businessName;

}
